package com.example.SBootDemo.Dao.Interface;

import org.springframework.data.jpa.repository.JpaRepository;
import com.example.SBootDemo.model.function.role;

public interface roleDao extends JpaRepository<role,Long> {
	
	role findByRolename(String rolename);

	com.example.SBootDemo.model.function.role findById(int id);

	void deleteById(Integer integer);

}
